/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kotionokyurievna.gmail.com.circlebuffer.concur.view;

import kotionokyurievna.gmail.com.circlebuffer.concur.logic.*;

/**
 *
 * @author Kateryna_Reznik
 */
public class CircularBufferMain {
    public static void main ( String args[] ){
         CircularBuffer cBuffer = new CircularBuffer(12);
        (new Thread(new Producer(cBuffer))).start();
        (new Thread(new Producer(cBuffer))).start();
        (new Thread(new Producer(cBuffer))).start();
        (new Thread(new Consumer(cBuffer))).start();
        (new Thread(new Consumer(cBuffer))).start();
        (new Thread(new Consumer(cBuffer))).start();
        (new Thread(new Consumer(cBuffer))).start();
        (new Thread(new Consumer(cBuffer))).start();
        (new Thread(new Consumer(cBuffer))).start();
        
        
    }
}
